package com.jeasonzhao.report.codes;

import com.jeasonzhao.commons.basic.IntegerPair;

public final class ReportSummaryModes extends IntegerPair
{
    private static final long serialVersionUID = 1L;
    public static final ReportSummaryModes None = new ReportSummaryModes(0,"None");
    public static final ReportSummaryModes Default = new ReportSummaryModes(1,"Default");
    public static final ReportSummaryModes Top = new ReportSummaryModes(2,"Top");
    public static ReportSummaryModes fromName(String strName)
    {
        return(ReportSummaryModes) IntegerPair.findConstant(ReportSummaryModes.class,strName,None);
    }

    public int hashCode()
    {
        return super.hashCode();
    }

    protected ReportSummaryModes(int nId,String strName)
    {
        super(nId,strName);
    }
}
